Intersoft ClientUI Documentation
InvokeAction Method (EventSubscription<TPayload>)



The action to execute.
The payload to pass action while invoking it.
Invokes the specified Action synchronously when not overriden.
Syntax
Public Overridable Sub InvokeAction( _
   ByVal action As Action(Of TPayload), _
   ByVal argument As TPayload _
) 
Dim instance As EventSubscription(Of TPayload)
Dim action As Action(Of TPayload)
Dim argument As TPayload
 
instance.InvokeAction(action, argument)
public virtual void InvokeAction( 
   Action<TPayload> action,
   TPayload argument
)
public:
virtual void InvokeAction( 
   Action<TPayload^>^ action,
   TPayload^ argument
) 

Parameters

action
The action to execute.
argument
The payload to pass action while invoking it.
Exceptions
ExceptionDescription
System.ArgumentNullExceptionAn System.ArgumentNullException is thrown if action is null.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

EventSubscription<TPayload> Class
EventSubscription<TPayload> Members

Send Feedback